Skip to content

Add Ruby example for creating a ground scouting feature set#8

Open
denisahearn wants to merge 3 commits intomainfrom
create-ground-scouting-feature-set
Open

Add Ruby example for creating a ground scouting feature set#8
denisahearn wants to merge 3 commits intomainfrom
create-ground-scouting-feature-set

Conversation

@denisahearn
Copy link
Contributor

@denisahearn denisahearn commented Mar 4, 2026

Why?

I want to demonstrate how to use the FieldAgent GraphQL API to create a valid ground scouting feature set

What?

  • Adds api/create_ground_scouting_feature_set.rb, which shows how to create a ground scouting feature set

Screenshot(s)

JIRA Link

No story

Code Review Strategy

QA Strategy

  • Merge latest main

  • Run this command on your local machine and verify on dev that images were uploaded to S3 and attached to the survey you specified:

FIELDAGENT_ACCESS_TOKEN=<Your API access token> \
FIELDAGENT_SERVER=https://apistaging.sentera.com \
SURVEY_SENTERA_ID=<Your survey Sentera ID> \
NUM_LOCATIONS=20 \
NUM_ATTACHMENTS_PER_FEATURE=2 \
WITH_ATTACHMENTS=all \
ATTACHMENTS_PATH="../test_files" \
ATTACHMENTS_EXT="*.*" \
WITH_NOTES=all \
ruby create_ground_scouting_feature_set.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants